package beans;

import java.util.Vector;

public class Course {

	private int id;
	private String name;
	private String classroom;
	private String days;
	private String time;
	private String examDate;
	private String attendance;
	private int instanceId;
	private Vector grades;
	private Vector news;
	private Vector folders;
	private Group group;
	private String IDAula;
	

	public Course(){
		super();
		this.grades = new Vector();
		this.news = new Vector();
		this.folders = new Vector();
	}
	
	public Course(String name, String classroom, int instanceId) {
		super();
		this.name = name;
		this.classroom = classroom;
		this.instanceId = instanceId;
		this.grades = new Vector();
		this.news = new Vector();
		this.folders = new Vector();
	}
	
	public Course(int id, String name, String classroom, int instanceId) {
		super();
		this.id = id;
		this.name = name;
		this.classroom = classroom;
		this.instanceId = instanceId;
		this.grades = new Vector();
		this.news = new Vector();
		this.folders = new Vector();
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getClassroom() {
		return classroom;
	}
	
	public void setClassroom(String classroom) {
		this.classroom = classroom;
	}
	
	public int getInstanceId() {
		return instanceId;
	}
	
	public void setInstanceId(int instanceId) {
		this.instanceId = instanceId;
	}

	public void setGrades(Vector grades) {
		this.grades = grades;
	}

	public Vector getGrades() {
		return grades;
	}
	
	public void addGrade(Grade grade){
		this.grades.addElement(grade);
	}

	public void addNews(News news) {
		this.news.addElement(news);
	}

	public Vector getNews() {
		return news;
	}

	public void setNews(Vector news) {
		this.news = news;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public String getDays() {
		return days;
	}

	public void setDays(String days) {
		this.days = days;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAttendance() {
		return attendance;
	}

	public String getExamDate() {
		return examDate;
	}

	public void setExamDate(String examDate) {
		this.examDate = examDate;
	}

	public void setAttendance(String attendance) {
		this.attendance = attendance;
	}
	
	public Vector getFolders() {
		return folders;
	}
	
	public void setFolders(Vector folders) {
		this.folders = folders;
	}
	
	public void addFolder(WebCampusFolder folder){
		this.folders.addElement(folder);
	}

	public String getIDAula() {
		return IDAula;
	}

	public void setIDAula(String iDAula) {
		IDAula = iDAula;
	}

	
}

